#include <stdio.h>
size_t  serlen1(const char*arr)
{
	const char* p = arr;
	int count = 0;
	while (*p)
	{
		p++;
		count++;
	}
	return count;
}

int main()
{
	char arr[8] = "abcdefg";
	printf("%d\n", serlen1(arr));
	return 0;
}